package com.bgs.eat.commodityOrder.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName CommodityOrderComplaintEntityTwoTable
 * @Description TODO 商品订单申诉实体类 + 商品订单实体类 (两表联查)
 * @Author cjl
 * @Date 2022/10/26 14:39
 **/
@Data
public class CommodityOrderComplaintEntityTwoTable {

    // 商品订单申诉实体类
    private Integer id;

    private String complaintText; // 申诉内容

    private Integer orderId; // 订单Id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; // 创建时间（提交时间）

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resolutionTime; // 解决时间

    private Integer resolutionStatus; // 解决状态 0未解决 1已解决

    //商品订单实体类
    private String shopAddress; // 店铺详细地址

    private Integer countyId; // 县id

}
